//设置显示时间的部分

var line1 = document.querySelector("#line-1");
var line2 = document.querySelector("#line-2");
var time_text = document.querySelector("#time-text");
function SetTime(){
    var date = new Date;
    var text1 = date.getFullYear() + "年" + (date.getMonth()+1) + "月" + date.getDate()+"日";
    var text2 = date.getHours() + "时" + date.getMinutes() + "分" + date.getSeconds() + "秒";
    time_text.innerHTML = (date.getMonth()+1) + "月" + date.getDate() + "日";
    line1.innerHTML = text1;
    line2.innerHTML = text2;
}
setInterval("SetTime()",1000);